package com.bl.weilan.dao.repository;

import com.bl.weilan.dao.model.CompanyOpponentEntity;
import com.bl.weilan.dao.model.CompanyPointEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CompanyPointRepository extends JpaRepository<CompanyPointEntity, String> {
//    CompanyPointEntity findByCompanyId(String companyId);
    List<CompanyPointEntity> findByCompanyId(String companyId);

    void deleteByCompanyId(String companyId);

}
